let eventTime = 5
let k = 1
let startTime = [1,3]
let endTime = [2,5]
var maxFreeTime = function(eventTime, k, startTime, endTime) {
    
};